package com.ruoyi.jypc.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆对象 jypc_car
 * 
 * @author HWJ
 * @date 2022-11-02
 */
public class Car extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车牌号 */
    private Long carid;

    /** 车辆名称 */
    @Excel(name = "车辆名称")
    private String carname;

    /** 类别编号 */
    @Excel(name = "类别编号")
    private Long typeid;

    /** 车辆颜色 */
    @Excel(name = "车辆颜色")
    private String color;

    /** 车辆检查日期 */
    @Excel(name = "车辆检查日期")
    private String checktime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String yl1;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String yl2;

    /** 车辆容纳人数 */
    @Excel(name = "车辆容纳人数")
    private Long size;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 备注1 */
    @Excel(name = "备注1")
    private String remark1;

    /** 备注2 */
    @Excel(name = "备注2")
    private String remark2;

    public void setCarid(Long carid) 
    {
        this.carid = carid;
    }

    public Long getCarid() 
    {
        return carid;
    }
    public void setCarname(String carname) 
    {
        this.carname = carname;
    }

    public String getCarname() 
    {
        return carname;
    }
    public void setTypeid(Long typeid) 
    {
        this.typeid = typeid;
    }

    public Long getTypeid() 
    {
        return typeid;
    }
    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }
    public void setChecktime(String checktime) 
    {
        this.checktime = checktime;
    }

    public String getChecktime() 
    {
        return checktime;
    }
    public void setYl1(String yl1) 
    {
        this.yl1 = yl1;
    }

    public String getYl1() 
    {
        return yl1;
    }
    public void setYl2(String yl2) 
    {
        this.yl2 = yl2;
    }

    public String getYl2() 
    {
        return yl2;
    }
    public void setSize(Long size) 
    {
        this.size = size;
    }

    public Long getSize() 
    {
        return size;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setRemark1(String remark1) 
    {
        this.remark1 = remark1;
    }

    public String getRemark1() 
    {
        return remark1;
    }
    public void setRemark2(String remark2) 
    {
        this.remark2 = remark2;
    }

    public String getRemark2() 
    {
        return remark2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carid", getCarid())
            .append("carname", getCarname())
            .append("typeid", getTypeid())
            .append("color", getColor())
            .append("checktime", getChecktime())
            .append("yl1", getYl1())
            .append("yl2", getYl2())
            .append("size", getSize())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark1", getRemark1())
            .append("remark2", getRemark2())
            .toString();
    }
}
